﻿using CoreLib;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Microsoft.Xna.Framework;

namespace CoreLibTestProject
{
    
    
    /// <summary>
    ///This is a test class for CDynamicComponentTest and is intended
    ///to contain all CDynamicComponentTest Unit Tests
    ///</summary>
    [TestClass()]
    public class CDynamicComponentTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for CDynamicComponent Constructor
        ///</summary>
        [TestMethod()]
        public void CDynamicComponentConstructorTest()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for Draw
        ///</summary>
        [TestMethod()]
        public void DrawTest()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            GameTime gameTime = null; // TODO: Initialize to an appropriate value
            target.Draw(gameTime);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for Update
        ///</summary>
        [TestMethod()]
        public void UpdateTest()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            GameTime gameTime = null; // TODO: Initialize to an appropriate value
            target.Update(gameTime);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for Forward
        ///</summary>
        [TestMethod()]
        public void ForwardTest()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            Vector3 expected = new Vector3(); // TODO: Initialize to an appropriate value
            Vector3 actual;
            target.Forward = expected;
            actual = target.Forward;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for PositionMatrix
        ///</summary>
        [TestMethod()]
        public void PositionMatrixTest()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            Matrix expected = new Matrix(); // TODO: Initialize to an appropriate value
            Matrix actual;
            target.PositionMatrix = expected;
            actual = target.PositionMatrix;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for PositionVector3
        ///</summary>
        [TestMethod()]
        public void PositionVector3Test()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            Vector3 expected = new Vector3(); // TODO: Initialize to an appropriate value
            Vector3 actual;
            target.PositionVector3 = expected;
            actual = target.PositionVector3;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for RotationMatrix
        ///</summary>
        [TestMethod()]
        public void RotationMatrixTest()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            Matrix expected = new Matrix(); // TODO: Initialize to an appropriate value
            Matrix actual;
            target.RotationMatrix = expected;
            actual = target.RotationMatrix;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for RotationVector3
        ///</summary>
        [TestMethod()]
        public void RotationVector3Test()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            Vector3 expected = new Vector3(); // TODO: Initialize to an appropriate value
            Vector3 actual;
            target.RotationVector3 = expected;
            actual = target.RotationVector3;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ScaleMatrix
        ///</summary>
        [TestMethod()]
        public void ScaleMatrixTest()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            Matrix expected = new Matrix(); // TODO: Initialize to an appropriate value
            Matrix actual;
            target.ScaleMatrix = expected;
            actual = target.ScaleMatrix;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ScaleVector3
        ///</summary>
        [TestMethod()]
        public void ScaleVector3Test()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            Vector3 expected = new Vector3(); // TODO: Initialize to an appropriate value
            Vector3 actual;
            target.ScaleVector3 = expected;
            actual = target.ScaleVector3;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for StayOnGround
        ///</summary>
        [TestMethod()]
        public void StayOnGroundTest()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            target.StayOnGround = expected;
            actual = target.StayOnGround;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Transforms
        ///</summary>
        [TestMethod()]
        public void TransformsTest()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            Matrix[] expected = null; // TODO: Initialize to an appropriate value
            Matrix[] actual;
            target.Transforms = expected;
            actual = target.Transforms;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Up
        ///</summary>
        [TestMethod()]
        public void UpTest()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            Vector3 expected = new Vector3(); // TODO: Initialize to an appropriate value
            Vector3 actual;
            target.Up = expected;
            actual = target.Up;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for World
        ///</summary>
        [TestMethod()]
        public void WorldTest()
        {
            Game game = null; // TODO: Initialize to an appropriate value
            CDynamicComponent target = new CDynamicComponent(game); // TODO: Initialize to an appropriate value
            Matrix expected = new Matrix(); // TODO: Initialize to an appropriate value
            Matrix actual;
            target.World = expected;
            actual = target.World;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
